package Shapes;

class Rectangle extends Shape{
    private double a;
    private double b;
    public Rectangle(String square,double a,double b){
        this.square=square;
        this.a=a;
        this.b=b;
    }
    public double calculateArea(){
        return  a*b;
    }
}
